#ifndef VIEWCONTACTDIALOG_H
#define VIEWCONTACTDIALOG_H

#include <QtGui>
#include <qtopiaapplication.h>

#include "neophonebookentry.h"
#include "ui_viewcontactform.h"

class ViewContactDialog : public QWidget, public Ui_ViewContactDialog
{
    Q_OBJECT

    public:
        ViewContactDialog( QWidget *parent=0, Qt::WFlags f = 0 );
        void setupView(int index, NeoPhoneBookEntry *entry);
        ~ViewContactDialog();

    private:
		int phoneBookIndex;
	
	signals:
		void editContactSignal(int);
		void deleteContactSignal(int);

	private slots:
		void on_editPushButton_clicked();
		void on_deletePushButton_clicked();
		void on_callPushButton_clicked();
};

#endif
